package org.dromara.system.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
import org.dromara.system.domain.XfNews;
import org.dromara.system.domain.XfRatingDimension;
import org.dromara.system.domain.query.XfNewsQuery;
import org.dromara.system.domain.query.XfRatingDimensionQuery;
import org.dromara.system.domain.vo.XfNewsVo;
import org.dromara.system.domain.vo.XfRatingDimensionVo;

import java.util.List;

public interface XfRatingDimensionMapper extends BaseMapperPlus<XfRatingDimension, XfRatingDimensionVo> {
    // 查询支持打分的维度
    List<XfRatingDimensionVo> queryList(XfRatingDimensionQuery query);

    Page<XfRatingDimensionVo> selectPageXfRatingDimensionList(@Param("page") Page<XfRatingDimension> page, @Param(Constants.WRAPPER) Wrapper<XfRatingDimension> queryWrapper);


}
